package com.second.app.enums;

/**
 * @author gyz
 * @date 2020/12/26 14:18
 */
public enum CommonCodeEnum {
    /**
     * 成功
     */
    OK(0),
    /**
     * 失败
     */
    ERROR(-1);

    private final Integer code;

    CommonCodeEnum(Integer code) {
        this.code = code;
    }


    public Integer getCode() {
        return code;
    }
}
